﻿using AutoCommunication.Enums;
using System;

namespace AutoCommunication.Base
{
    /// <summary>
    /// 日记记录委托定义
    /// </summary>
    /// <param name="name">报警信息</param>
    /// <param name="ex">具体异常Exception</param>
    /// <param name="alarmLevel">报警等级</param>
    public delegate void LoggerDelegate(string name, Exception ex = null, AlarmLevel alarmLevel = AlarmLevel.Info);
}